package com.ruicar.afs.cloud.apply.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.apply.business.condition.ApplyOrderLeadingCondition;
import com.ruicar.afs.cloud.apply.common.entity.ApplyOrderInfo;
import com.ruicar.afs.cloud.apply.pre.loan.vo.ApplyOrderLeadingVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单放款mapper
 *
 * @author 耿继辉
 */
public interface ApplyOrderLeadingMapper extends BaseMapper<ApplyOrderInfo> {

    /**
     * 多条件查询订单放款信息
     *
     * @param condition
     * @return
     */
    IPage<List<ApplyOrderLeadingVo>> getOrderLeadingInfo(Page page, @Param("query") ApplyOrderLeadingCondition condition);
}
